import socket
s = socket.socket()
s.bind(('127.0.0.1', 30000))
s.listen()
while True:
    c, addr = s.accept()
    print(c)
    print('链接地址：',addr)
    c.send('sddsds'.encode('utf-8'))
    c.close()
